﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Mvc;

namespace DotNetCore.HelloWorld
{
    public class HomeController
    {
        [HttpGet("/{name}")]
        public string Index(string name)
        {
            //ViewBag.Name = name;
            //return View();
            return $"Hello {name}";
        }
    }
}
